package com.example.lotterysystem.controller.result;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description: 活动列表
 * User: Spider-Man
 * Date: 2025-09-13
 * Time: 11:25
 */
@Data
public class FindActivityListResult implements Serializable {
    private Integer total;//活动总数
    private List<ActivityInfo> records;//当前列表

    @Data
    public static class ActivityInfo implements Serializable{
        private Long activityId;//活动id

        private String activityName;//活动名称

        private String description;//活动描述

        private Boolean valid;//活动是否有效
    }
}
